import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/change_shift_info_create_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/change_shift_info_create_entity.g.dart';

@JsonSerializable()
class ChangeShiftInfoCreateEntity {
	String? handoverPersonDept = '';
	String? handoverScheduleName = '';
	int? handoverScheduleConfigId = 0;
	String? handoverLeaderPhone = '';
	String? handoverLeader = '';
	int? handoverLeaderId = 0;
	String? handoverPerson = '';
	String? handoverPersonPhone = '';
	int? scheduleInfoId = 0;
	int? takeoverScheduleConfigId = 0;
	String? takeoverScheduleName = '';
	String? takeoverTime = '';
	int? takeoverPersonId = 0;
	String? takeoverPersonPhone = '';
	String? takeoverPerson = '';
	String? takeoverPersonDept = '';
	int? takeoverLeaderId = 0;
	String? takeoverLeaderPhone = '';
	String? takeoverLeader = '';
	String? onDutyTime = '';
	String? handoverTime = '';
	String? eventTime = '';
	String? eventAddr = '';
	String? eventDesc = '';
	String? eventReason = '';
	String? measure = '';
	String? remark = '';
	int? majorEventInfoId = 0;

	ChangeShiftInfoCreateEntity();

	factory ChangeShiftInfoCreateEntity.fromJson(Map<String, dynamic> json) => $ChangeShiftInfoCreateEntityFromJson(json);

	Map<String, dynamic> toJson() => $ChangeShiftInfoCreateEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}